#!/usr/bin/python
import time
import pyttsx

def onWord(name, location, length):
   print 'word', name, location, length
   if location > 4:
      engine.stop()
engine = pyttsx.init()
engine.say('The quick brown fox jumped over the lazy dog.')
engine.runAndWait()



# Use voice: english-us
# rate: default 200, range 100-400
# volume: default 1, range 0-1
